package org.monkey.common.constant.util;

import cn.hutool.core.util.StrUtil;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.monkey.common.constant.config.CommonConstant;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BaseMsg {
  String channelGroup;
  String from;
  String msgType;
  String to;
  String msg;
  String channel;
  Map<String, String> params = new HashMap<>();
  List<String> tags = new ArrayList<>();
  String namespace = CommonConstant.DEFAULT_SOCKET_NAMESPACE;
  String msgId = StrUtil.uuid();
}
